package com.dl.pojo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author DL
 * @create 2021-03-23 14:14
 */
@ApiModel("学生")
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student implements Serializable {
    private int uid;
    private String name;
    private String sex;
    private String qq;
    private String weixin;
    private String major;
    private String yuanxi;
    private String beizhu;
    private String sushe;

    public Student(String name, String sex, String qq, String weixin, String major, String yuanxi, String beizhu, String sushe) {
        this.name = name;
        this.sex = sex;
        this.qq = qq;
        this.weixin = weixin;
        this.major = major;
        this.yuanxi = yuanxi;
        this.beizhu = beizhu;
        this.sushe = sushe;
    }
}
